package com.qf.stu.application;

import org.mybatis.spring.annotation.MapperScan;
import org.springframework.boot.SpringApplication;
import org.springframework.boot.autoconfigure.SpringBootApplication;
import org.springframework.cloud.openfeign.EnableFeignClients;
import org.springframework.transaction.annotation.EnableTransactionManagement;

/**
 * 三个扫描：
 * @ComponseScan("com.qf")
 * @MapperScan("com.qf.**.dao")
 * @EnableFeignClients(basePackages = "com.qf.**.feign")
 */
@SpringBootApplication
@EnableFeignClients(basePackages = "com.qf.**.feign")
//@LoadBalancerClients({
//        @LoadBalancerClient(value = "cls-server", configuration = LBConfig.class)
//})
@MapperScan("com.qf.**.dao")
@EnableTransactionManagement
public class StuApplication {

    public static void main(String[] args) {
        SpringApplication.run(StuApplication.class, args);
    }


}
